// In Box Application
application "iobox" called "In Box" with options { "readonly" }

// Notes Soup
//
// InBox.adf file for RCU 2.1
// version 0.1 09-03-96
// by Paolo Alberto Casadio
// e-mail: pacasadio@linknet.it
// Compuserve: 72431,362

// In Box Soup
soup "InBox" called "Messages in Box" of "iobox" range "IOdateRange"

overview "iobox:date" called "By Date" of "InBox" queries "timestamp" contains
	{
	column "Date" width 155 is timestamp
	column "Message Title" width 200 is title
	}
	
class "ioItem" called "Message" of "InBox" with options { "readonly" } contains
	{
	timestamp: datetime called "Date"
	fromRef: entry called "Sender" contains 
		{
		name: entry called "Name" contains
			{
			first: string called "First"
			last: string called "Last"
			}
		alias: string called "Alias"
		email: string called "e-Mail"
		}
	title: string called "Title"
	body: entry called "Body" contains
		{
		text: text called "Text"
		}
	}

range "IODateRange" called "All" is "<range> [ ... ]"
range "IOdateRange" called "Today" is "<range> [ daystart ... daystart + 1d )"
range "IOdateRange" called "This Week" is "<range> [ weekstart ... weekstart + 1w )"
range "IOdateRange" called "This Month" is "<range> [ monthstart ... monthstart + 1m )"
range "IOdateRange" called "Past Week" is "<range> [ weekstart - 1w... weekstart )"
range "IOdateRange" called "Past Month" is "<range> [ monthstart - 1m... monthstart )"
range "IOdateRange" called "Previous 60 Days" is "<range> [ daystart - 60d ... daystart )"
